﻿using B.S.Medical.Api.Read.DTOS;
using B.S.Medical.ErrorCode;
using MediatR;

namespace B.S.Medical.Api.Read.Application.Command.Register
{
    public class ShowRegisterCommand:IRequest<ApiPageing<RegisterDto>>
    {
        public string Status { get; set; } = "全部";  // 默认为"全部"
        public DateTime? StartDate { get; set; }
        public DateTime? EndDate { get; set; }
        public string? ConsultingRoom { get; set; }    // 诊室
        public string? SearchName { get; set; }        // 患者姓名/医生姓名搜索

        // 分页参数
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 10;
    }
}
